package com.pollyduan.springInitializr;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import io.spring.initializr.metadata.DependencyGroup;

@Component
@Configuration
public class ThirdPartyDependenciesConfiguration {
	@Bean
	@ConfigurationProperties("custom.dependencies")
	DependencyGroup dependencies() {
	 return new DependencyGroup();
	}

	public DependencyGroup getDependencies() {
		return dependencies();
	}
}
